package com.cfgj.mapper;

import com.cfgj.entity.User;
import com.cfgj.entity.UserInfo;
import com.cfgj.entity.Vo.UpdateUser;
import com.cfgj.entity.Vo.UserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserMapper {
    List<UserVo> findUserbyStatus(@Param("page") Integer page, @Param("size") Integer size);
    Integer findcount();
    void updateUserStatus(UpdateUser user);
    /*
    * 更新用户权限
    * */
    List<UserInfo> accUserbyStatus(@Param("page") Integer page, @Param("size") Integer size);
    Integer usercount();
    void updateStatus(UserInfo user);

}
